package xyz.suancaiyu.blogservice.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import xyz.suancaiyu.blogservice.entity.Blog;

import java.util.List;

/**
 * @author puruidong
 * @version 2019/1/25 23:40
 */
public interface BlogDao extends JpaRepository<Blog, Long> {

    List<Blog> findByUsername(String username);

}
